#include <stdio.h>
#include "tabela/tabela.h"
#include "scanner/scanner.h"

YYSTYPE yylval;

extern char* yytext;

int main() {
    tabinit();
    lexinit();
    int tok;
    while ((tok = yylex()) != 0) {
        printf("%d\t%s\n", tok, yytext);
    }
    return 0;
}

